import hashlib
import base64

import requests


def test():
    url = "http://f01.lianty.cn:8084/qztDownload?url=%2Fn%2F0%2F823%2F%E9%94%90%E5%AD%97%E7%9C%9F%E8%A8%80%E4%BD%93%E5%85%8D%E8%B4%B9%E5%95%86%E7%94%A8.zip&fontId=1583afec2915e69e132bd21b9eb6b2d9"
    i = 1
    while True:
        resp = requests.get(url)
        print(f"第{i}次.")
        if resp.status_code != 503:
            print(resp.url)
            break
        i += 1


if __name__ == "__main__":
    test()
